package com.zyh.dao;


import com.zyh.pojo.Post;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface PostDao {

    public void create(Post post);
    Integer getPostId();

    List<Post> findPostsByUid(Integer id);
    public List<Post> findAll();

    void add_mention(Integer pid,List<String> usernamList);

    List<Post> findMentionsByName(String name);
}
